<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>边框-单独设置各边</title>
    <style>
        p{
            border-top-style:dotted;
	border-right-style:solid;
	border-bottom-style:dotted;
	border-left-style:solid;  
        }
    </style>
</head>
<body>
    <p>两个不同的边界样式。</p> 
</body>
</html>